package com.neuedu.his.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.his.po.Medicaldisease;
import com.neuedu.his.po.Medicalrecord;

import java.util.List;
import java.util.Map;

public interface MedicalrecordService extends IService<Medicalrecord> {
    Map<String, Object> saveMedicalRecord(Medicalrecord medicalRecord, List<Medicaldisease> diagnoses, String action, Integer doctorId);
    Medicalrecord getByRegistId(Integer registId);
    List<Medicaldisease> getDiagnosesByMedicalId(Integer medicalId);
    Map<String, Object> getMedicalRecordWithDiagnoses(Integer registId, Integer doctorId);
}